#include <iostream>
#include <string>
#include <cstring>
#include <vector>

using namespace std;

class Util
{
public:
    static void CutString(const string &s, const string &sep, vector<string> *v)
    { // 将s字符串以sep为分隔符，截取到到v中作为行
        size_t start = 0;
        while (start < s.size())
        {
            size_t pos = s.find(sep, start);
            if (pos == string::npos)
            {
                if (start < s.size())
                    v->push_back(s.substr(start, s.size() - start));
                break;
            }
            v->push_back(s.substr(start, pos - start));
            start = pos + sep.size();
        }
    }
};